Dkms based packaging structure#2
Open
ShivamVashisth28 wants to merge 3 commits intoluainkernel:mainfrom
Open
Conversation
added 3 commits
June 23, 2025 22:07
Closed
Collaborator
|
@ShivamVashisth28 you must not replicate or copy all files from lunatik to this repo to test the package build. I cannot tell, by looking at this PR, what you have changed in the code to build the debian packages. This PR should contain only the necessary files to build the packages. The build process should work by adding |
|
please, please.. always provide full logs @ShivamVashisth28.. 🔮 🔮 🔮 |
Author
|
@marcelstanley Yes got your point, but I provided the repo so that it becomes easier for you to just clone this branch , and test it, later on it will only contain the debian files. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This pull request introduces the complete structure and files required to build and package Lunatik (version 3.6.2) using DKMS. It includes:
lunatik-3.6.2/debian/control,debian/rules,dkms.conf, etc.)The goal is to make the DKMS packaging process reproducible and aligned with Debian policy standards.
Steps to Build and Test the Package
To build and test the DKMS-based Lunatik package, follow these steps:
Inside the
lunatik-3.6.2/directory, run:Once the build completes, move one directory up:
cd ..Install the generated
.debpackages:After installation, run the Lunatik CLI:
Current Issue
Upon launching
lunatik, the kernel modules fail to load. Running:sudo dmesg | tailreveals symbol-related errors, particularly conflicts between ZFS and Lunatik.
Debugging Efforts So Far
To resolve this, the following steps were attempted:
quiltand included them in the packaging process.Despite this, the issue with symbol conflicts remains unresolved.
Proposed Next Steps
Two possible directions are under consideration:
Investigate and Patch
Analyze the exact cause of the naming or symbol conflict and attempt to resolve it by refining the existing patch.
Rework the Packaging Approach
Consider starting the packaging process from scratch, possibly using a non-DKMS-based build method
Please review the added structure and build steps. Feedback and suggestions for improving the namespace handling or alternative packaging strategies are welcome.